/**
 * 
 */
package com.youxin.busfoundation.bean.phone;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.youxin.foundation.utils.DateUtil;

/**
 * @author yingde.cao
 * @date 2017年12月21日
 * @version 1.0
 */
public class ResponseBindMobile {
	@JsonProperty("middle_phone")
	private String middlePhone;
	private String subid;
	private long expires;

	
	public String getSubid() {
		return subid;
	}

	public void setSubid(String subid) {
		this.subid = subid;
	}

	public String getMiddlePhone() {
		return middlePhone;
	}

	public void setMiddlePhone(String middlePhone) {
		this.middlePhone = middlePhone;
	}

	public long getExpires() {
		return expires;
	}

	public void setExpires(long expires) {
		this.expires = expires;
	}
	
	@JsonProperty("expires_format")
	public String getExpiresTime() {
		return DateUtil.formatSecondToTime(expires);
	}
}
